|
|
|
Bean
TimeDate
|
Time and date
User types are derived from basic types and they are designed for usage in driver interface. The following types are supported: pointer, array, structure, union and user declaration.
|
User types:
- TIMEREC = Record
- It contains actual number of hours, minutes, seconds and hundreths of seconds.
-
- Hour : byte;
- hours (0 - 23)
- Min : byte;
- minutes (0 - 59)
- Sec : byte;
- seconds (0 - 59)
- Sec100 : byte;
- hundredths of seconds (0 - 99)
End;
- DATEREC = Record
- It contains actual year, month, and day description.
-
- Year : word;
- years (1998 - 2099)
- Month : byte;
- months (1 - 12)
- Day : byte;
- days (0 - 6)
End;
|
|
|
Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.
|
|
|